@import 'vue/fonts.css';

:root {
    --side-bar-bg-color: #fff;
    --control-text-color: #777;
    --font-sans-serif: 'Ubuntu', 'Source Sans Pro', sans-serif !important;
    --font-monospace: 'Fira Code', 'Roboto Mono', monospace !important;
}

.markdown-body {
    font-size: 16px;
    font-family: var(--font-sans-serif);
    color: #34495e;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6rem;
    letter-spacing: 0;
    margin: 0;
    overflow-x: hidden;
}

.markdown-body  p {
    line-height: 1.6rem;
    word-spacing: .05rem;
}

.markdown-body  ol li {
    padding-left: 0.5rem;
}

.markdown-body  > ul:first-child,
.markdown-body  > ol:first-child {
    margin-top: 30px;
}

.markdown-body  > *:first-child {
    margin-top: 0 !important;
}

.markdown-body  > *:last-child {
    margin-bottom: 0 !important;
}

.markdown-body a {
    color: #42b983;
    font-weight: 600;
    padding: 0 2px;
    text-decoration: none;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
    line-height: 1.4;
    cursor: text;
}

.markdown-body h1:hover a.anchor,
.markdown-body h2:hover a.anchor,
.markdown-body h3:hover a.anchor,
.markdown-body h4:hover a.anchor,
.markdown-body h5:hover a.anchor,
.markdown-body h6:hover a.anchor {
    text-decoration: none;
}

.markdown-body h1 tt,
.markdown-body h1 code {
    font-size: inherit !important;
}

.markdown-body h2 tt,
.markdown-body h2 code {
    font-size: inherit !important;
}

.markdown-body h3 tt,
.markdown-body h3 code {
    font-size: inherit !important;
}

.markdown-body h4 tt,
.markdown-body h4 code {
    font-size: inherit !important;
}

.markdown-body h5 tt,
.markdown-body h5 code {
    font-size: inherit !important;
}

.markdown-body h6 tt,
.markdown-body h6 code {
    font-size: inherit !important;
}

.markdown-body h2 a,
.markdown-body h3 a {
    color: #34495e;
}

.markdown-body h1 {
    padding-bottom: .4rem;
    font-size: 2.2rem;
    line-height: 1.3;
}

.markdown-body h2 {
    font-size: 1.75rem;
    line-height: 1.225;
    margin: 35px 0 15px;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #ddd;
}

.markdown-body h3 {
    font-size: 1.4rem;
    line-height: 1.43;
    margin: 20px 0 7px;
}

.markdown-body h4 {
    font-size: 1.2rem;
}

.markdown-body h5 {
    font-size: 1rem;
}

.markdown-body h6 {
    font-size: 1rem;
    color: #777;
}

.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body dl,
.markdown-body table {
    margin: 0.8em 0;
}

.markdown-body li > ol,
.markdown-body li > ul {
    margin: 0 0;
}

.markdown-body hr {
    height: 2px;
    padding: 0;
    margin: 16px 0;
    background-color: #e7e7e7;
    border: 0 none;
    overflow: hidden;
    box-sizing: content-box;
}

.markdown-body > h2:first-child {
    margin-top: 0;
    padding-top: 0;
}

.markdown-body > h1:first-child {
    margin-top: 0;
    padding-top: 0;
}

.markdown-body > h1:first-child + h2 {
    margin-top: 0;
    padding-top: 0;
}

.markdown-body > h3:first-child,
.markdown-body > h4:first-child,
.markdown-body > h5:first-child,
.markdown-body > h6:first-child {
    margin-top: 0;
    padding-top: 0;
}

.markdown-body a:first-child h1,
.markdown-body a:first-child h2,
.markdown-body a:first-child h3,
.markdown-body a:first-child h4,
.markdown-body a:first-child h5,
.markdown-body a:first-child h6 {
    margin-top: 0;
    padding-top: 0;
}

.markdown-body h1 p,
.markdown-body h2 p,
.markdown-body h3 p,
.markdown-body h4 p,
.markdown-body h5 p,
.markdown-body h6 p {
    margin-top: 0;
}

.markdown-body li p.first {
    display: inline-block;
}

.markdown-body ul,
.markdown-body ol {
    padding-left: 30px;
}

.markdown-body ul:first-child,
.markdown-body ol:first-child {
    margin-top: 0;
}

.markdown-body ul:last-child,
.markdown-body ol:last-child {
    margin-bottom: 0;
}

.markdown-body blockquote {
    border-left: 4px solid #42b983;
    padding: 10px 15px;
    color: #777;
    background-color: rgba(66, 185, 131, .1);
}

.markdown-body table {
    padding: 0;
    word-break: initial;
}

.markdown-body table tr {
    border-top: 1px solid #dfe2e5;
    margin: 0;
    padding: 0;
}

.markdown-body table tr:nth-child(2n),
.markdown-body thead {
    background-color: #fafafa;
}

.markdown-body table tr th {
    font-weight: bold;
    border: 1px solid #dfe2e5;
    border-bottom: 0;
    text-align: left;
    margin: 0;
    padding: 6px 13px;
}

.markdown-body table tr td {
    border: 1px solid #dfe2e5;
    text-align: left;
    margin: 0;
    padding: 6px 13px;
}

.markdown-body table tr th:first-child,
.markdown-body table tr td:first-child {
    margin-top: 0;
}

.markdown-body table tr th:last-child,
.markdown-body table tr td:last-child {
    margin-bottom: 0;
}

.markdown-body  strong {
    padding: 0 1px;
}

.markdown-body  em {
    padding: 0 5px 0 2px;
}

.markdown-body  table thead th {
    background-color: #f2f2f2;
}

.markdown-body  .CodeMirror-gutters {
    border-right: none;
}

.markdown-body  .md-fences {
    border: 1px solid #F4F4F4;
    -webkit-font-smoothing: initial;
    margin: 0.8rem 0 !important;
    padding: 0.3rem 0 !important;
    line-height: 1.43rem;
    background-color: #F8F8F8 !important;
    border-radius: 2px;
    font-family: var(--font-monospace);
    font-size: 0.85rem;
    word-wrap: normal;
}


.markdown-body code, tt {
    padding: 2px 4px;
    border-radius: 2px;
    font-family: var(--font-monospace);
    font-size: 0.92rem;
    color: #e96900;
    background-color: #f8f8f8;
}

.markdown-body tt {
    margin: 0 2px;
}

.markdown-body  .footnotes {
    background-color: #f8f8f8;
    color: #e96900;
}

/* heighlight. */
.markdown-body  mark {
    background-color: #EBFFEB;
    border-radius: 2px;
    padding: 2px 4px;
    margin: 0 2px;
    color: #222;
    font-weight: 500;
}

.markdown-body  del {
    padding: 1px 2px;
}

.markdown-body .cm-s-inner .cm-link,
.markdown-body .cm-s-inner.cm-link {
    color: #22a2c9;
}

.markdown-body .cm-s-inner .cm-string {
    color: #22a2c9;
}

.markdown-body .task-list-item{
    list-style: none;
}

.markdown-body .task-list-item > input {
    margin-left: -1.3em;
    margin-right: 8px;
}

.markdown-body .md-fences {
    background-color: #f8f8f8;
}

.markdown-body .md-diagram-panel {
    position: static !important;
}

.markdown-body  pre{
    padding: 1rem;
    padding-left: 12px;
    font-size: 85%;
    line-height: 1.45;
    background-color: #f7f7f7;
    border: 0;
    border-radius: 3px;
    color: #777777;
    margin-top: 0 !important;
}

.markdown-body .mathjax-block > .code-tooltip {
    bottom: .375rem;
}

.markdown-body  > h3.md-focus:before {
    left: -1.5625rem;
    top: .375rem;
}

.markdown-body  > h4.md-focus:before {
    left: -1.5625rem;
    top: .285714286rem;
}

.markdown-body  > h5.md-focus:before {
    left: -1.5625rem;
    top: .285714286rem;
}

.markdown-body  > h6.md-focus:before {
    left: -1.5625rem;
    top: .285714286rem;
}

.markdown-body .md-image > .md-meta {
    border-radius: 3px;
    font-family: var(--font-monospace);
    padding: 2px 0 0 4px;
    font-size: 0.9em;
    color: inherit;
}

.markdown-body .md-tag {
    color: inherit;
}

.markdown-body .md-toc {
    margin-top: 20px;
    padding-bottom: 20px;
}

.markdown-body .sidebar-tabs {
    border-bottom: none;
}

.markdown-body #typora-quick-open {
    border: 1px solid #ddd;
    background-color: #f8f8f8;
}

.markdown-body #typora-quick-open-item {
    background-color: #FAFAFA;
    border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee;
    border-style: solid;
    border-width: 1px;
}

.markdown-body #md-notification:before {
    top: 10px;
}

/** focus mode */

.markdown-body .on-focus-mode blockquote {
    border-left-color: rgba(85, 85, 85, 0.12);
}

.markdown-body header,
.markdown-body .context-menu,
.markdown-body .megamenu-content,
.markdown-body footer {
    font-family: var(--font-sans-serif);
}

.markdown-body .file-node-content:hover .file-node-icon,
.markdown-body .file-node-content:hover .file-node-open-state {
    visibility: visible;
}

.markdown-body .mac-seamless-mode #typora-sidebar {
    background-color: var(--side-bar-bg-color);
}

.markdown-body .md-lang {
    color: #b4654d;
}

.markdown-body .html-for-mac .context-menu {
    --item-hover-bg-color: #E6F0FE;
}